var result_12 = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"", "MSG":"","DATA":"","RULE":"12"}');

if (TRAIT_STORE_NBR == 45
  && !isNull(RETAIL_TYPE)
  && RETAIL_TYPE.toUpperCase() == 'BP'
  && NEW_RETAIL_EXP_DATE != '2049-12-31') {
  result_12.CODE = 2;
  result_12.ACTION = "CHECKING_REPORT";
  result_12.MSG = "BP结束日必须为永久";
};

JSON.stringify(result_12);